
<div class="field <?php  if(form_error($name, '', '')){ echo " required"; }; ?>">
      <?php if($label){?> <div class="left <?php echo $name; ?>" ><?php  echo $label; ?>:</div> <?php } ?>
         <input class="<?php echo $class; ?>" id="<?php echo $name; ?>" <?php if($class){ echo 'class="'.$class.'"';} ?> type="text" name="<?php echo $name; ?>" value="<?php echo set_value($name,$default); ?>">
	 <div class="cleaner"></div>
	</div>
	<?php if($cleaner){ ?>
	 <div class="cleaner"></div>
	 <?php } ?>


